@echo off
SET cygwin=.\cygwin\bin

SET MAKE_MODE=unix
SET _=/usr/bin/env
SET TERM=cygwin
SET OSTYPE=cygwin

rem set sunnyexplorer=..\SunnyExplorer\SunnyExplorer.exe
set sunnyexplorer=.\..\SunnyExplorer\
rem set php=.\php\php-cgi.exe
set php=.\php\
set svn=.\svn
set TMP=.\cygwin\tmp
set TEMP=.\cygwin\tmp
path=%cygwin%;%sunnyexplorer%;%php%;%svn%;%path%

del test.txt
bash -c "echo hallo >test.txt"
if exist test.txt goto :RUN
goto ERROR

:ERROR
echo bash tools nicht vorhanden
exit

:RUN
rem bash test.sh
bash sma2web.sh
